package model;

import model.altarica_fields.VarType;

public class AltaRicaDomain {
	
	private String name;
	private VarType type; 
	
	public AltaRicaDomain(String name, VarType type) {
		
		this.name = name;
		this.type = type;
	}

	public String getName() {
		
		return this.name;
	}
	
	public void setType(VarType type) {
		
		this.type = type;
	}
	
	public VarType getType() {
		
		return this.type;
	}
	
	public String toString() {
		
		String str = new String("domain ");
		
		str += this.name + " = " + type + ";";
		
		return str;
	}
	
}
